package interfaces2;

import java.io.Serializable;

public class Point2D<T> implements Serializable {
   /**
	 * Data members
	 */
	private static final long serialVersionUID = 1L;
	T x;
	T y;
	public Point2D(T x_in, T y_in){ x = x_in; y = y_in; }
	public String toString(){ return "( " + x + ", " + y + " )"; }
	public T getX(){ return x; }
	public T getY(){ return y; }
}
